package com.bpf.base.dao.system;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.bpf.base.model.system.Role2MenuExample;
import com.bpf.base.model.system.Role2MenuKey;

public interface Role2MenuMapper {
    int countByExample(Role2MenuExample example);

    int deleteByExample(Role2MenuExample example);

    int deleteByPrimaryKey(Role2MenuKey key);

    int insert(Role2MenuKey record);

    int insertSelective(Role2MenuKey record);

    List<Role2MenuKey> selectByExample(Role2MenuExample example);

    int updateByExampleSelective(@Param("record") Role2MenuKey record, @Param("example") Role2MenuExample example);

    int updateByExample(@Param("record") Role2MenuKey record, @Param("example") Role2MenuExample example);

    void insertBatch(List<Role2MenuKey> role2MenuKeys);
}